/**
 * Created by MD-3 on 2017/6/13.
 */


var door_mock = [{
    doorId:"1",
    doorName: "16号教学楼",
    doorState: "0",                                     //0-关闭，1-开启
    alarmState: "0",                                    //0-无，1-未处理，2-已处理
    position: {lng: '114.39569', lat: '30.492775'},
},{
    doorId:"2",
    doorName: "中南民大",
    doorState: "0",
    alarmState: "0",
    position: {lng: "114.391484", lat: "30.48756"},
}];

/*var num = 1000;
var door_mock = []
for(var i=0; i<num; i++) {
    door_mock.push({
        doorId:i,
        doorName:"name"+i,
        doorState: "0",
        alarmState: "0",
        position: {lng: '114.3'+Math.random()*0.1, lat: '30.4'+Math.random()*0.1}
    })
}*/






var infoWinow_mock = [{
    basicInfo: {
        doorId:"1",
        doorName: "16号教学楼",
        doorState: "0",
        alarmState: "1"
    }
},{
    basicInfo: {
        doorId: "2",
        doorName: "中南民大",
        doorState: "0",
        alarmState: "1"
    }
}]